#ifndef IMAGEEDITWIDGET_H
#define IMAGEEDITWIDGET_H

#include <QDockWidget>
#include "Render/rendertarget.h"
namespace Ui {
class ImageEditWidget;
}

class ImageEditWidget : public QWidget
{
    Q_OBJECT

public:
    explicit ImageEditWidget(QWidget *parent = nullptr);
    ~ImageEditWidget();
    void ShowRenderTarget(RenderTarget* renderTarget);
private:
    Ui::ImageEditWidget *ui;
    RenderTarget* curImage = nullptr;
    void Save();
};

#endif // IMAGEEDITWIDGET_H
